// @import './atom-one-light.less';
body {
  min-width: 1015px;
}

body, textarea, input, button, select, pre tt, kbd, samp, .serif {
  font-family: "Rubik", sans-serif
}

button {
  cursor: pointer;
}

* {
  &::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 1px hsl(0deg 0% 100% / 50%);
  }
}

img {
  max-width: 100%;
}

pre, code {
  font-size: 14px;
  font-family: lucida console, Consolas, Monaco, andale mono, ubuntu mono, monospace;
}

body, html, .k-layout {
  height: 100%;
}

@keyframes rightOut {
  0% {
    transform: translateX(0);
    transform-origin: 0% 0%;
  }
  100% {
    transform: translateX(100%);
    transform-origin: 0% 0%;
  }
}

@keyframes rightIn {
  0% {
    transform: translateX(-100%);
    transform-origin: 0% 0%;
  }
  100% {
    transform: translateX(0);
    transform-origin: 0% 0%;
  }
}

@keyframes leftOut {
  0% {
    transform: translateX(0);
    transform-origin: 0% 0%;
  }
  100% {
    transform: translateX(-100%);
    transform-origin: 0% 0%;
  }
}

@keyframes leftIn {
  0% {
    transform: translateX(100%);
    transform-origin: 0% 0%;
  }
  100% {
    transform: translateX(0);
    transform-origin: 0% 0%;
  }
}

.right-enter-active {
  animation: rightIn 0.3s ease-out;
  animation-fill-mode: both;
}

.right-leave-active {
  animation: rightOut 0.3s ease-in;
  animation-fill-mode: both;
}

.left-enter-active {
  animation: leftIn 0.3s ease-out;
  animation-fill-mode: both;
}

.left-leave-active {
  animation: leftOut 0.3s ease-in;
  animation-fill-mode: both;
}

.k-layout {
  height: 100%;
  .header {
    height: 58px;
    line-height: 58px;
    background: #0052D9 !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    box-shadow: 0 0 10px #ddd;
    min-width: 1015px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    .logo {
      float: left;
      min-width: 280px;
      a {
        color: #fff;
        text-decoration: none;
      }
      img {
        height: 48px;
        vertical-align: middle;
        display: inline-block;
        margin-right: 8px;
      }
      sub {
        font-size: 18px;
        font-weight: 400;
        position: absolute;
        padding-top: 31px;
      }
    }
  }
  .right-menu-icon {
    display: none;
  }
}

.main {
  background-color: #fff !important;
  overflow: hidden;
  padding-top: 58px;
}

.docs-k-layout-sider {
  background-color: #fff !important;
  overflow: hidden;
  position: relative;
  display: flex;
  .ms {
    padding: 30px 25px 60px 20px;
    overflow: auto;
    flex: 1;
    width: 260px;
    box-sizing: border-box;
    // .item {
    //   width:180px;
    // }
  }
  .copyright {
    position: absolute;
    color: #999;
    font-size: 12px;
    bottom: 0;
    background-color: #f9f9f9;
    display: block;
    width: 100%;
    left: 0;
    text-align: center;
    padding: 15px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    a {
      flex: 1;
      color: #ddd;
      font-size: 16px;
    }
    .icon {
      margin-left: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 20px;
      padding: 5px;
      cursor: pointer;
      &:hover {
        color: #333;
      }
    }
  }
  .nav-table {
    // min-width: 300px;
    display: flex;
    width: 260px;
    border-right: 1px solid #f5f5f5;
    // box-sizing: border-box;
    padding-right: -1px;
    overflow: hidden;
    padding-bottom: 40px;
  }
}

.item {
  padding: 15px 20px 12px 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #888;
  cursor: pointer;
  transition: all .3s ease-in-out;
  .num {
    transition: all .3s ease-in-out;
    display: inline-block;
    width: 25px;
    height: 25px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    background-color: #888;
    margin-right: 8px;
    font-size: 13px;
  }
}

.item-prev {
  color: #333;
  .num {
    background-color: #3a95ff;
  }
}

.item-acitve {
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  color: #333;
}

.k-layout-content {
  height: 100%;
  .wrapper-inner {
    background-color: #fff;
    max-width: 800px;
    border-radius: 3px;
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.1);
    margin: 60px auto 90px;
    padding: 1px 30px 20px 30px;
    box-sizing: border-box;
    * {
      line-height: 2 !important;
    }
  }
}

.right {
  position: relative;
  overflow: hidden;
  .wrapper {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
  }
}

.controls {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  padding: 0 32px;
  flex-direction: column;
  z-index: 1001;
  .fabs {
    max-width: 1025px;
    width: 100%;
    margin: 0 auto;
    display: flex;
  }
  .spacer {
    flex: 1;
  }
  .back, .next {
    z-index: 100;
    border-radius: 3px;
    bottom: 40px;
    font-size: 13px;
    height: 35px;
    line-height: 35px;
    padding: 0 20px;
    border: none;
    box-shadow: 0 2px 2px 2px rgba(51, 51, 51, 0.1);
  }
  .back {
    color: #3a95ff;
  }
}